dsh-watch: Adding Background Stream Listening for the DeepSeek Harness Agent

dshworks/dsh-watch is a background stream-watching plugin for DeepSeek Harness, designed to solve the problem of Agents needing to continuously monitor command output or new lines in log files. It supports two stream sources—`command` and `file`—and wakes the Agent through filtered, batched, and byte-limited in-session notifications, preventing data overload. Each watch task is managed as a first-class background job, supporting standard job listing, output viewing, and termination operations. The plugin features optional JavaScript regex filtering, a Wake Budget/Token Bucket mechanism, and event budget limits, and supports unattended daemon hosting for mounting long-running sessions. The plugin is released under the MIT license and requires Node.js.

Read More